package com.braveman.im.ui.holder;


import android.view.View;

import com.braveman.im.R;
import com.braveman.im.bean.SettingGroupPositonBean;
import com.braveman.im.ui.weiget.ButtonItem;
import com.ht.baselibs.ui.base.BaseViewHolder;

public class SettingGroupViewHolder extends BaseViewHolder<SettingGroupPositonBean> {
    private ButtonItem mBtnIOrgAndPerson;


    public SettingGroupViewHolder() {
        super(R.layout.list_set_group_positon_item);
    }

    @Override
    protected void initView() {
        mBtnIOrgAndPerson = findViewById(R.id.btnI_org_and_person);

    }

    @Override
    protected void refreshView(SettingGroupPositonBean complainBean) {
        mBtnIOrgAndPerson.tv_title.setText(complainBean.titile);
        mBtnIOrgAndPerson.iv_des.setVisibility(complainBean.show ? View.VISIBLE : View.GONE);
    }
}
